package org.infodavid.common.model.behaviors;

/**
 * The Interface ILinkable.
 */
public interface ILinkable<E extends ILinkable<E>> {

	/** The PREVIOUS. */
	String PREVIOUS = "previous";

	/** The NEXT. */
	String NEXT = "next";

	/**
	 * Gets the previous.
	 * @return the previous
	 */
	E getPrevious();

	/**
	 * Sets the previous.
	 * @param value the previous
	 */
	void setPrevious(E value);

	/**
	 * Gets the next.
	 * @return the next
	 */
	E getNext();

	/**
	 * Sets the next.
	 * @param value the next
	 */
	void setNext(E value);
}
